using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Crossborder.Domian
{
    public class JwtTokenModel
    {
        /// <summary>
        /// 颁布者
        /// </summary>
        /// <value></value>
        public string Issuer { get; set; }

        /// <summary>
        /// 授权者
        /// </summary>
        /// <value></value>
        public string Audience { get; set; }

        /// <summary>
        /// 过期时间
        /// </summary>
        /// <value></value>
        public int Expires { get; set; }

        /// <summary>
        /// 滑动过期时间
        /// </summary>
        /// <value></value>
        public int ClockSkew { get; set; }

        /// <summary>
        /// 密钥串
        /// </summary>
        /// <value></value>
        public string Security { get; set; }

        public string UserId { get; set; }

        public string UserName { get; set; }

        public string Role { get; set; }
    }
}